<div class="layui-footer ws-footer layui-bg-black">
    <p>
      {$footer['copyright']|default=''} 
      <a href="/">{$footer['powered']|default=''}</a>
    </p>
</div>
<script src="__ROOT__/static/plugs/layui/layui.js?at={:date('md')}"></script>
<script src="__ROOT__/static/plugs/require/require.js?at={:date('md')}"></script>
<script src="__ROOT__/static/admin.js?at={:date('md')}"></script>
<script src="__ROOT__/static/extra/script.js?at={:date('md')}"></script>
<script src="__ROOT__/static/tools.js?at={:date('md')}"></script>
<script type="text/javascript">
    $(function() {
        layui.use(['util'], function () {
            util = layui.util;
            util.fixbar({
                top: true //返回顶部
                , css: { right: 15, bottom: 35 }
                , bgcolor: '#16889aa'
                , click: function (type) {
        
                }
            });
        })
    })
    
    var loginOut = function () {
        $.form.load('{:sysuri("login/out")}', {}, 'post', function (res) {
            if(res.code == 1){
                $.msg.success(res.info, 3, function (){
                    location.href = '{:sysuri("index/index")}';
                });
                return true
            }else{
                $.msg.error(res.info);
                return false
            }
        }, true);
    }
</script>